home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Add-Ons / MPW / MPW re2c 1.1 / examples / sample.re < prev    next >
Encoding:
Text File  |  1995-06-01  |  139 b   |  8 lines  |  [TEXT/MPS ]

  1. /*!re2c
  2.     "print"        {return PRINT;}
  3.     [a-z]+        {return ID;}
  4.     [0-9]+        {return DEC;}
  5.     "0x" [0-9a-f]+    {return HEX;}
  6.     [\000-\377]    {return ERR;}
  7. */
  8.